<script>
function prize_submit_invite_code (inputItem)
{
    var code = $(inputItem).val();
    if (code)
    {
        url = '/guider/prize';
        tips_ajax_message('POST', url, { code: code });
    }
    else
    {
        layer.tips("邀请码不能为空", inputItem, { tips: 3 });
    }
}
</script>
